package top.lingkang.finalvalidated.handle;

import java.lang.reflect.Field;
import java.lang.reflect.Parameter;

/**
 * @author lingkang
 * created by 2025/11/9 2:27
 */
public class ValidVal {
    private String name;
    private Class<?> clazz;
    private String tag;
    private ValGet valGet;
    private Field field;
    private Parameter parameter;

    public String getName() {
        return name;
    }

    public ValidVal setName(String name) {
        this.name = name;
        return this;
    }

    public Class<?> getClazz() {
        return clazz;
    }

    public ValidVal setClazz(Class<?> clazz) {
        this.clazz = clazz;
        return this;
    }

    public String getTag() {
        return tag;
    }

    public ValidVal setTag(String tag) {
        this.tag = tag;
        return this;
    }

    public ValGet getValGet() {
        return valGet;
    }

    public ValidVal setValGet(ValGet valGet) {
        this.valGet = valGet;
        return this;
    }

    public Field getField() {
        return field;
    }

    public ValidVal setField(Field field) {
        this.field = field;
        return this;
    }

    public Parameter getParameter() {
        return parameter;
    }

    public ValidVal setParameter(Parameter parameter) {
        this.parameter = parameter;
        return this;
    }
}
